//
//  UITableView+GMAdd.h
//  gentleman
//
//  Created by 范月成 on 2017/12/6.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <UIKit/UIKit.h>

#if NS_BLOCKS_AVAILABLE
typedef UIView * _Nonnull (^GMPlaceHolderBlock)(UITableView * _Nonnull sender);
typedef void (^GMPlaceHolderNormalBlock)(UITableView * _Nonnull sender);
#endif

@interface UITableView (GMEmpty)
NS_ASSUME_NONNULL_BEGIN

@property (nonatomic, strong) UIView * _Nullable gm_placeHolderView;

- (void)gm_configureWithPlaceHolderBlock:(GMPlaceHolderBlock)block
                             normalBlock:(_Nullable GMPlaceHolderNormalBlock)normal;

@end
NS_ASSUME_NONNULL_END


@interface UITableView (GMEstimatedHeight)

- (void)disabledEstimatedHeight;

@end
